package com.mode.creating.AbstractFactory;

import com.mode.creating.factory.Sender;
import org.junit.Test;

public class SendMailFactoryTest {
    @Test
    public void produce() throws Exception {
        Provider provider = new SendMailFactory();
        Sender sender = provider.produce();
        sender.send();
    }

}